package com.njtoyo.taxi.admin.rest.wrapper.business.simpleCallRide;

import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@ApiModel("电召查询")
@Data
public class SimpleCallRideQueryWrapper {

    @ApiModelProperty("行政区ID")
    private Long cantonId;

    @ApiModelProperty("行政区Ids")
    private List<Long> cantonIds;

    @ApiModelProperty("公司ID")
    private Long companyId;

    @ApiModelProperty("公司Ids")
    private List<Long> companyIds;

    @ApiModelProperty("行程ID")
    private Long rideId;

    @ApiModelProperty("司机id")
    private Long driverId;

    @ApiModelProperty("司机")
    private String driverSearch;

    @ApiModelProperty("乘客id")
    private Long customerId;

    @ApiModelProperty("乘客")
    private String customerSearch;

    @ApiModelProperty("是否已取消")
    private Boolean isCancel;

    @ApiModelProperty("是否已结束")
    private Boolean isFinished;

    @ApiModelProperty("分页size")
    private Integer size = 15;

    @ApiModelProperty("分页current")
    private Integer current = 1;

    @ApiModelProperty("叫车类型 0:simple[一键叫车],1:phone[电话叫车]")
    private SimpleCallRideCategory category;

    private List<SimpleCallRideCategory> categoryList;

    @ApiModelProperty("导出使用，开始时间，精确到月，例如`2021-03-04`")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty("导出使用，结束时间，精确到月，例如`2021-03-04`")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;


    private String plateNumber;

    private String date;

    private SimpleCallRideState state;


    private String useTaxiStartDate;


    private String useTaxiEndDate;



}
